from django import forms

ORDER_STATUS_SELECTION = (
    #(1, 'Processed'),
    (2, 'SHIPPED'),
    #(3, 'Arrived'),
    #(4, 'Finnish'),
    (5, 'CANCELED'),
)

class CommentAndRateForm(forms.Form):
    o_detail = forms.CharField(widget=forms.HiddenInput(),required=True)
    rate = forms.IntegerField(widget=forms.HiddenInput(),required=True)
    comment = forms.CharField(
        widget=forms.Textarea(attrs={'class':'comment-textarea'}),
        required=False
    )

class OrderStatusForm(forms.Form):
    status = forms.ChoiceField(ORDER_STATUS_SELECTION)